﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tradex.Trading {

    /// <summary>
    /// An AccountInfo is the static description of an account at a given moment in time.
    /// </summary>
    [Serializable()]
    public sealed class AccountInfo {

        /// <summary>
        /// Public Constructor taking all values.
        /// </summary>
        /// <param name="timestamp"></param>
        /// <param name="description"></param>
        public AccountInfo(
            DateTime timestamp,
            string description
        ) {
            Timestamp = timestamp;
            Description = description;
        }

        /// <summary>
        /// The Timestamp of the AccountInfo, given in UTC.
        /// </summary>
        public DateTime Timestamp { get; private set; }

        /// <summary>
        /// The Description of the Account
        /// </summary>
        public string Description { get; private set; }

    }

}
